package com.dmz.workflow.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.echronos.commons.utils.FilePathDeSerializer;
import com.echronos.commons.utils.FilePathSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

@Data
@Builder
public class MemberInfoVo {
    /**
     * 员工memberId
     */
    private Integer id;
    /**
     * 员工名称
     */
    private String name;

    /**
     * 员工头像
     */
    @JSONField(deserializeUsing = FilePathDeSerializer.class,serializeUsing = FilePathSerializer.class)
    private String url;
    @ApiModelProperty("用户头像")
    private Integer avatar;
    /**
     * 员工电话号码
     */
    private String phone;
    /**
     * 员工用户ID
     */
    private Integer userId;
}
